/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package thienphuc.patient.bo;

import java.util.List;
import thienphuc.patient.dto.BenhAn;
import thienphuc.patient.dto.DichVuLamSan;

/**
 *
 * @author QuocDat
 */
public interface DichVuLamSanBO {

    /**
     * Get DichVuLamSan by MaLamSan
     * @param maLamSan
     * @return
     * @throws Exception 
     */
    DichVuLamSan getById(int maLamSan) throws Exception;

    /**
     * Get DichVuLamSan by BenhAn
     * @param benhAn
     * @return
     * @throws Exception 
     */
    List<DichVuLamSan> getByBenhAn(BenhAn benhAn) throws Exception;

    /**
     * Insert DichVuLamSan
     * @param dichVuLamSan
     * @return
     * @throws Exception 
     */
    boolean insertDichVuLamSan(DichVuLamSan dichVuLamSan) throws Exception;
    
    /**
     * Update DichVuLamSan
     * @param dichVuLamSan
     * @return
     * @throws Exception 
     */
    boolean udpateDichVuLamSan(DichVuLamSan dichVuLamSan) throws Exception;
}
